package com.bobo.service.photo;

import com.bobo.dto.Page;
import com.bobo.model.Photo;

import java.sql.Timestamp;
import java.util.List;

/**
 * Created by bobo on 2016/10/17.
 */
public interface IPhotoService {

    public Integer create(Photo photo);

    public boolean update(Photo photo);

    public Photo getPhoto(Integer id);

    public boolean delete(Integer id);

    public List<Photo>  clearPhoto();

    public List<Photo> getList(Integer status);

    public Page<Photo> getPage(int current, int pageSize);

    public Page<Photo> getCp(int current, int pageSize);



}
